/******************************************************************************
//             INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright (c) 2000-2001 Intel Corporation. All Rights Reserved.
//
//  Description:
//      Intel(R) JPEG library for X platform 
//
********************************************************************************/
#ifndef _IJFREQ_H
#define _IJFREQ_H

#if IPPJPVER!=1
/* Base line sequential */
IJXRESULT ijGetHuffmanFREQ_Gray(const Ipp16s **ppMCUBuf, 
                             int **ppFreq,
                             IJENCODESTATE *pEncodeState);
IJXRESULT ijGetHuffmanFREQ_444(const Ipp16s **ppMCUBuf, 
                            int **ppFreq,
                            IJENCODESTATE *pEncodeState);
IJXRESULT ijGetHuffmanFREQ_422(const Ipp16s **ppMCUBuf, 
                            int **ppFreq,
                            IJENCODESTATE *pEncodeState);
IJXRESULT ijGetHuffmanFREQ_411(const Ipp16s **ppMCUBuf, 
                            int **ppFreq,
                            IJENCODESTATE *pEncodeState);

/* DC Progressive */

IJXRESULT ijGetHuffmanFREQ_Gray_DC(const Ipp16s **ppMCUBuf, 
                                 int **ppFreq,
                                 int ah,
                                 int al,
                                 IJENCODESTATE *pEncodeState);
IJXRESULT ijGetHuffmanFREQ_444_DC(const Ipp16s **ppMCUBuf, 
                                int **ppFreq,
                                int ah,
                                int al,
                                IJENCODESTATE *pEncodeState);
IJXRESULT ijGetHuffmanFREQ_422_DC(const Ipp16s **ppMCUBuf, 
                                int **ppFreq,
                                int ah,
                                int al,
                                IJENCODESTATE *pEncodeState);
IJXRESULT ijGetHuffmanFREQ_411_DC(const Ipp16s **ppMCUBuf, 
                                int **ppFreq,
                                int ah,
                                int al,
                                IJENCODESTATE *pEncodeState);

/* AC Progressive */
IJXRESULT ijGetHuffmanFREQ_ACFirst(const Ipp16s      *pMCUBuf, 
                                int         *pFreq,
                                int         ss, 
                                int         se,
                                int         al,
                                IJCOMPSPEC  *pComSpec,
                                IJENCODESTATE *pEncodeState);
IJXRESULT ijGetHuffmanFREQ_ACRefine(const Ipp16s      *pMCUBuf, 
                                int         *pFreq,
                                int         ss, 
                                int         se,
                                int         al,
                                IJCOMPSPEC  *pComSpec,
                                IJENCODESTATE *pEncodeState);
#endif

#endif
/* EOF */
